# -*- coding:utf-8 -*-

__author__ = 'chendaqing'

"""
商城中的权限模块定义
"""

from flaskext.principal import RoleNeed, Permission

admin = Permission(RoleNeed('admin'))
moderator = Permission(RoleNeed('moderator'))
auth = Permission(RoleNeed('authenticated'))

null = Permission(RoleNeed('null'))